package com.metaera.app.data.model;

public class ActivityListResponse {

    private int    id;
    private String title;
    private String pic;
    private String start_time;
    private String end_time;
    private String organizer;
    private int    num;
    private int    is_free;
    private String content;
    private int    is_delete;
    private int    is_show;
    private int    type;
    private Object create_time;
    private String update_time;
    private int    language;
    private String address;
    private String province;
    private String city;
    private String area;

    private int status; // 0未开始；1-进行中；2-已结束

    String price;

    private int start_time_stamp;
    private int end_time_stamp;

    public int getStatus() {
        if (status > 2) return 2;
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPrice() {
        if (price == null) return "";
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getStart_time_stamp() {
        return start_time_stamp;
    }

    public void setStart_time_stamp(int start_time_stamp) {
        this.start_time_stamp = start_time_stamp;
    }

    public int getEnd_time_stamp() {
        return end_time_stamp;
    }

    public void setEnd_time_stamp(int end_time_stamp) {
        this.end_time_stamp = end_time_stamp;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getOrganizer() {
        return organizer;
    }

    public void setOrganizer(String organizer) {
        this.organizer = organizer;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIs_free() {
        return is_free;
    }

    public void setIs_free(int is_free) {
        this.is_free = is_free;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(int is_delete) {
        this.is_delete = is_delete;
    }

    public int getIs_show() {
        return is_show;
    }

    public void setIs_show(int is_show) {
        this.is_show = is_show;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Object getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Object create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public int getLanguage() {
        return language;
    }

    public void setLanguage(int language) {
        this.language = language;
    }

    public String getAddress() {
        if (address == null){
            return "";
        }
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        if (city == null){
            return "";
        }
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        if (area == null){
            return "";
        }
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }
}
